package com.bawei.mall.user.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author：HaoYunde
 * @Package：com.bawei.mall.user.domain
 * @Project：mall_cloud
 * @name：MallProductEntity
 * @Date：2024/7/5 17:14
 */
@Data
public class MallProductEntity {
    private Long id;
    private Long productId;
    private Long productSkuId;
    private Long userId;
    private Integer quantity;
    private BigDecimal price;
    private String productPic;
    private String productName;
    private String productSubTitle;
    private String productSkuCode;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    private Integer deleteStatus;
    private Long productCategoryId;
    private String productBrand;
    private String productAttr;
}
